package fr.insee.solr.model;

import java.util.HashMap;
import java.util.Map;

public class SolrFacet {
	
	private String name;
	
	private Map<String, Long> data = new HashMap<String, Long>();
	
	
	
	public void add(String value, long count){
		data.put(value, count);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Map<String, Long> getData() {
		return data;
	}

	public void setData(Map<String, Long> data) {
		this.data = data;
	}
	
	
	
}
